package com.foreveross.taskservice.infra.ddd;

import javax.inject.Inject;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import org.apache.log4j.Logger;
import org.openkoala.koala.commons.domain.jpa.KoalaEntityRepositoryJpa;

public class TaskserviceEntityHibernateRepository extends KoalaEntityRepositoryJpa{
	public Logger log=Logger.getLogger(getClass());
	
	@Inject
	@PersistenceContext(unitName="default")
	EntityManager  entityManager;

	public EntityManager getEntityManager() {
		return entityManager;
	}
	
}
